package org.jeecg.modules.wlhy.shippingnoteviolation.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: hy_shipping_note_violation
 * @Author: duanlikao
 * @Date:   2023-03-06
 * @Version: V1.0
 */
@Data
@TableName("hy_shipping_note_violation")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hy_shipping_note_violation对象", description="hy_shipping_note_violation")
public class HyShippingNoteViolation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**运单ID*/
	@Excel(name = "运单ID", width = 15, dictTable = "hy_shipping_note", dicText = "shipping_note_number", dicCode = "id")
    @ApiModelProperty(value = "运单ID")
	@Dict(dictTable = "hy_shipping_note", dicText = "shipping_note_number", dicCode = "id")
    private java.lang.String shippingNoteId;
	/**运单号*/
	@Excel(name = "运单号", width = 15)
    @ApiModelProperty(value = "运单号")
    private java.lang.String shippingNoteNumber;
	/**司机*/
	@Excel(name = "司机", width = 15, dictTable = "hy_driver", dicText = "driver_name", dicCode = "id")
	@Dict(dictTable = "hy_driver", dicText = "driver_name", dicCode = "id")
    @ApiModelProperty(value = "司机")
    private java.lang.String driverId;
	/**车辆*/
	@Excel(name = "车辆", width = 15, dictTable = "hy_vehicle", dicText = "vehicle_number", dicCode = "id")
	@Dict(dictTable = "hy_vehicle", dicText = "vehicle_number", dicCode = "id")
    @ApiModelProperty(value = "车辆")
    private java.lang.String vehicleId;
	/**违规类型*/
	@Excel(name = "违规类型", width = 15, dicCode = "violation_type")
	@Dict(dicCode = "violation_type")
    @ApiModelProperty(value = "违规类型")
    private java.lang.String violationType;
	/**违规时间*/
	@Excel(name = "违规时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "违规时间")
    private java.util.Date violationTime;

	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")//传出data类型
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//传入时间字符串转换成data类型
	@ApiModelProperty(value = "创建日期")//swagger类方法上
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
	@ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
	private String delFlag;
}
